package cn.kgc.dao;

import cn.kgc.domain.User;

import java.util.List;

/**
 * @author Rock
 * @create 2019-11-14 14:37
 */
public interface UserDao {
    public List<User> findAll();
    public int deleteUserById(int id);
    public int addUser(User user);
    public User findById(int id);
    public int updateUser(User user);
    public List<User> findUserByCondition(User user);
}
